<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
            <!--
            var xmlhttp = null;
            function PostOrder(){
                var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.5.0");
                xmlhttp.Open("get", "http://xml.weather.yahoo.com/forecastrss?u=c&p=CHXX0008", false);
                xmlhttp.onreadystatechange = HandleStateChange;
                xmlhttp.Send();
            }
            
            function HandleStateChange(){
                if (xmlhttp.readyState == 4) {
                    alert("Result = " + xmlhttp.responseXML.xml);
                }
            }
            
            //-->
        </script>
    </head>
    <body>
        <div id="info">
        </div>
        <div id="temp">
        </div>
        <input type="button" value="click" onclick="javascript:PostOrder()"/>
    </body>
</html>